package com.hotstrip.common.line;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Created by idiot on 2019/7/22.
 */
@Configuration
@ConfigurationProperties(prefix = "line.bot")
public class LineBotConfig {

    @Value("${line.bot.channelId}")
    private String channelId;

    @Value("${line.bot.channelSecret}")
    private String channelSecret;

    @Value("${line.bot.channelToken}")
    private String channelAccessToken;

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public String getChannelSecret() {
        return channelSecret;
    }

    public void setChannelSecret(String channelSecret) {
        this.channelSecret = channelSecret;
    }

    public String getChannelAccessToken() {
        return channelAccessToken;
    }

    public void setChannelAccessToken(String channelAccessToken) {
        this.channelAccessToken = channelAccessToken;
    }
}
